cody - HTMLify profile

cody
4270 Files
633452 Views
Latest files of /cody/swapnilsparsh/30DaysOfJavaScript/68 - Movie TV Series Quote Generator
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Random Movie/TV Series Quote Generator</title>
<link rel="stylesheet" href="style.css">
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Random Movie/TV Series Quote Generator</title>
<link rel="stylesheet" href="style.css">
const getNextQuote = async() =>
{
var url = "https://raw.githubusercontent.com/msramalho/json-tv-quotes/master/quotes.json";
const response = await fetch(url);
const totalQuotes = await response.json();
const index = Math.floor(Math.random()*totalQuotes.length);
const quo=totalQuotes[index].quote;
const auth=totalQuotes[index].author;
{
var url = "https://raw.githubusercontent.com/msramalho/json-tv-quotes/master/quotes.json";
const response = await fetch(url);
const totalQuotes = await response.json();
const index = Math.floor(Math.random()*totalQuotes.length);
const quo=totalQuotes[index].quote;
const auth=totalQuotes[index].author;